﻿//---Standard Vehicle Config for Flans Mod--------
//Created by Minecraft-SMP Toolbox 2.1.4.2


//---Standard-------------------------------------
// Naming
Name K-18 Bumerang MGS
ShortName GFS_BumerangMGS
ItemID Your ID


// Visuals
Model gfs.BumerangMGS
ModelScale 1.15
Icon IconBumerang


// Recipe


//Misc
Description Russian Peoples Army (Fictional) Tank Destroyer_1x 125mm Smoothbore Gun_1x 7.62 Machine Gun_Introduction: 2018

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Texture SkinBumerangMGS


//Movement
MaxThrottle 1.66
MaxNegativeThrottle 0.75
Drag 5.0


//Wheels
NumWheels 4
WheelPosition 0 -17 -10 -18
WheelPosition 1 -17 -10 18
WheelPosition 2 36 -10 18
WheelPosition 3 36 -10 -18
WheelRadius 2


//Floating
FloatOnWater True
Buoyancy 0.06


//Ammo
BulletSpeed 12
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_125mmHEAT
AddAmmo GFS_125mmAPFSDS
AddAmmo GFS_125mm9M119


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 120
ShootDelaySecondary 2
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 120 39 0 turret
ShootPointSecondary 23 41 4 turret GFS_PKT
TurretOrigin 5 0 0


//Driver and Passengers
Driver 5 29 0 -360 360 -6 45
RotatedDriverOffset 12 0 8
Passengers 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 5
ShellSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddRecipeParts turret 1 GFS_MBTTurret
AddDye 5 black 1 red


//Health and Collision
SetupPart core 600 -46 4 -22 123 21 44
BulletDetection 7
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1.75 0 0
ShootParticlesPrimary cloud 1.5 0 0
ShootParticlesPrimary cloud 1.25 0 0
ShootParticlesPrimary cloud 0.75 0 0
ShootParticlesPrimary cloud 0.5 0 0
ShootParticlesPrimary cloud 0.25 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary explode 0.1 0 0.4
ShootParticlesPrimary explode 0.1 0 -0.4
ShootParticlesPrimary explode 0.1 0.26 0.26
ShootParticlesPrimary explode 0.1 0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.26 0.26
ShootParticlesPrimary explode 0.1 -0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.4 0
ShootParticlesPrimary explode 0.1 0.4 0
ShootParticlesSecondary flame 0.025 0 0
ShootParticlesSecondary flansmod.fmsmoke 0 0.01 0



//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_IFV_LAV
IdleSound EngineIdle_IFV_LAV
IdleSoundLength 20
EngineSound Engine_IFV_LAV
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_125mm
ShootSoundSecondary Shoot_Gun_PKT
ShootReloadSound Reload_Tnk_Auto

//------------------------------------------------

//---Vehicle--------------------------------------
//Visuals
RotateWheels True


//Movement
TurnLeftSpeed 0.30
TurnRightSpeed 0.30
FourWheelDrive False


//Misc
Tank False


//Turret rotation stuff
DriverAimSpeed 5 5 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretYaw2
YawSoundLength 21
PitchSound TurretPitch2
PitchSoundLength 20

//------------------------------------------------